﻿using System;

namespace pri.smilly.QuickStart.Ioc {
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class BeanAttribute : Attribute {
        public string Name { set; get; }
        public Type Type { set; get; }
        public LifeTime LifeTime { set; get; }
    }

    public enum LifeTime { Singleton, Transient, ThreadLocal}
}
